package com.drinks.yiniang.io.http;

/**
 * 接口
 * Created by han on 2018/12/20 0020.
 */
public class HttpUrls {
    public static final String API_HOST = "http://canyin.jiaoliuton.com";

    //上传文件
    public static final String API_UPLOAD_FILE = API_HOST + "/api/upload_img";
    //登录
    public static final String API_LOGIN = API_HOST + "/api/fans/login";
    //微信登录
    public static final String API_LOGIN_WEIXIN = API_HOST + "/api/fans/login/weixin";
    //绑定手机号
    public static final String API_BIND_PHONE = API_HOST + "/api/fans/bind/mobile";
    //发送验证吗
    public static final String API_SEND_SMS = API_HOST + "/api/sms_code";
    //退出登录
    public static final String API_LOGOUT = API_HOST + "/api/fans/logout";
    //用户信息
    public static final String API_USER_INFO = API_HOST + "/api/ylapp/my/index";
    //修改个人信息
    public static final String API_MODIFY_USER_INFO = API_HOST + "/api/fans/my/profile";
    //钱包
    public static final String API_WALLET_INFO = API_HOST + "/api/ylapp/my/wallet";
    //提现信息
    public static final String API_DRAWCASH_INFO = API_HOST + "/api/ylapp/apply/withdraw";
    //设置支付宝账号
    public static final String API_SET_ALIPAY_ACCOUNT = API_HOST + "/api/ylapp/apply/set";
    //申请提现
    public static final String API_APPLY_DRAWCASH = API_HOST + "/api/ylapp/apply/withdraw/submit";
    //充值套餐
    public static final String API_RECHARGE_PACKAGE_LIST = API_HOST + "/api/ylapp/recharge";
    //充值套餐购买
    public static final String API_RECHARGE_PACKAGE_BUY = API_HOST + "/api/ylapp/recharge/buy";
    //版本检测更新
    public static final String API_VERSION_CHECK = API_HOST + "/api/version";
    //启动页广告图片
    public static final String API_LAUNCH_PAGE_AD = API_HOST + "/api/ylapp/start/image";
    //设置支付密码
    public static final String API_SET_PAY_PASSWORD = API_HOST + "/api/ylapp/set/pay_pwd";
    //验证支付密码
    public static final String API_VERIFY_PAY_PASSWORD = API_HOST + "/api/ylapp/verify/pay_pwd";
    //我的好友
    public static final String API_MY_FRIENDS_LIST = API_HOST + "/api/ylapp/my/friends";
    //我的成就
    public static final String API_MY_ACHIEVEMENT = API_HOST + "/api/ylapp/my/achievement";
    //获取用户是否设置过密码，是否开启密码支付，是否专家
    public static final String API_GET_USER_SET_DATA_INFO = API_HOST + "/api/ylapp/my/best/info";
    //设置页面的富文本
    public static final String API_HTML_SET_PAGE = API_HOST + "/api/ylapp/my/set";
    //关于我们
    public static final String API_ABOUT_US = API_HOST + "/api/about_us";
    //注册支付协议
    public static final String API_REGISTER_AND_PAY_AGREEMENT = API_HOST + "/api/ylapp/agreement";
    //客服热线时间段
    public static final String API_TELPHONE_HOT_LINE_TIME = API_HOST + "/api/get/call";
    //验证手机验证码
    public static final String API_VERIFY_PHONE_CODE = API_HOST + "/api/ylapp/verify/phone";

    //--------------------------收货地址
    //收货地址
    public static final String API_DELIVER_ADDRESS_LIST = API_HOST + "/api/fans/address/record";
    //添加收货地址
    public static final String API_ADD_ADDRESS = API_HOST + "/api/fans/address/store";
    //收货地址详情
    public static final String API_ADDRESS_DETAIL = API_HOST + "/api/fans/address/detail";
    //修改收货地址
    public static final String API_MODIFY_ADDRESS = API_HOST + "/api/fans/address/update";
    //删除收货地址
    public static final String API_DELETE_ADDRESS = API_HOST + "/api/fans/address/destroy";

    //--------------------------店铺
    //店铺列表
    public static final String API_SHOP_LIST = API_HOST + "/api/ylapp/stores";


    //--------------------------商品
    //获取首页数据
    public static final String API_GET_HOME_DATA = API_HOST + "/api/ylapp/index";
    //首页商品列表
    public static final String API_HOME_GOODS_LIST = API_HOST + "/api/ylapp/goods";
    //商品分类
    public static final String API_GOODS_CATEGORY_LIST = API_HOST + "/api/ylapp/category";
    //商品分类下子分类
    public static final String API_GOODS_SUB_CATEGORY_LIST = API_HOST + "/api/ylapp/category/child";
    //子分类商品列表
    public static final String API_CATEGORY_GOODS_LIST = API_HOST + "/api/ylapp/category/query/goods";
    //子分类下热门品牌
    public static final String API_CATEGORY_HOT_BRAND_LIST = API_HOST + "/api/ylapp/category/child/brand";
    //商品搜索
    public static final String API_GOODS_SEARCH = API_HOST + "/api/ylapp/goods/search";
    //智能推荐商品
    public static final String API_RECOMMEND_GOODS_LIST = API_HOST + "/api/ylapp/auto/recommend";
    //智能推荐商品不再显示
    public static final String API_RECOMMEND_GOODS_NOT_SHOW_AGAIN = API_HOST + "/api/ylapp/auto/recommend/hide";
    //商品详情
    public static final String API_GOODS_DETAIL = API_HOST + "/api/ylapp/goods/detail";
    //收藏(取消收藏)商品
    public static final String API_GOODS_COLLECT_OR_CANCEL = API_HOST + "/api/ylapp/goods/collect";
    //商品评论列表
    public static final String API_GOODS_COMMENTS_LIST = API_HOST + "/api/ylapp/goods/comments";
    //厂商详情
    public static final String API_MFRS_DETAIL = API_HOST + "/api/ylapp/brand/detail";
    //商品评论点赞与取消点赞
    public static final String API_GOODS_COMMENT_LIKE = API_HOST + "/api/ylapp/goods/comments/like";

    //--------------------------购物车
    //购物车列表
    public static final String API_SHOPPING_CART_LIST = API_HOST + "/api/ylapp/shopping_cart";
    //购物车删除商品
    public static final String API_DELETE_GOODS_FROM_SHOPPING_CART = API_HOST + "/api/ylapp/shopping_cart/del";
    //购物车修改商品数量
    public static final String API_SHOPPING_CART_MODIFY_NUM = API_HOST + "/api/ylapp/shopping_cart/num";
    //购物车推荐商品列表
    public static final String API_SHOPPING_CART_RECOMMEND_GOODS = API_HOST + "/api/ylapp/shopping_cart/recommend";
    //加入购物车
    public static final String API_ADD_GOODS_TO_SHOPPING_CART = API_HOST + "/api/ylapp/add/shopping_cart";
    //智能推荐商品全部加入购物车
    public static final String API_ADD_RECOMMEND_GOODS_TO_CART = API_HOST + "/api/ylapp/auto/recommend/add_cart";


    //--------------------------订单
    //订单列表
    public static final String API_ORDER_LIST = API_HOST + "/api/ylapp/order/list";
    //确认订单数据
    public static final String API_ORDER_CONFIRM_GOODS = API_HOST + "/api/ylapp/preview/goods";
    //确认购物车订单数据
    public static final String API_ORDER_CONFIRM_CART_GOODS = API_HOST + "/api/ylapp/preview/cart";
    //单个商品提交订单
    public static final String API_SUBMIT_ORDER_ONE_GOODS = API_HOST + "/api/ylapp/order/goods";
    //多个商品提交订单
    public static final String API_SUBMIT_ORDER_MORE_GOODS = API_HOST + "/api/ylapp/order/cart";
    //订单可使用的优惠券
    public static final String API_ORDER_CAN_USE_COUPON = API_HOST + "/api/ylapp/user/coupons";
    //订单详情
    public static final String API_ORDER_DETAIL = API_HOST + "/api/ylapp/order/detail";
    //退款的商品
    public static final String API_GET_REFUND_GOODS_LIST = API_HOST + "/api/ylapp/order/refund/info";
    //申请退款
    public static final String API_REFUND_GOODS_APPLY = API_HOST + "/api/ylapp/order/refund";
    //订单待评价商品列表
    public static final String API_GET_ORDER_COMMENTS_LIST = API_HOST + "/api/ylapp/order/comment";
    //订单评价
    public static final String API_SUBMIT_ORDER_COMMENTS = API_HOST + "/api/ylapp/order/comment/submit";
    //订单取消
    public static final String API_ORDER_CANCEL = API_HOST + "/api/ylapp/order/cancel";
    //订单删除
    public static final String API_ORDER_DELETE = API_HOST + "/api/ylapp/order/del";
    //确认收货
    public static final String API_ORDER_RECEIPT_CONFIRM = API_HOST + "/api/ylapp/order/sure/get";
    //提醒发货
    public static final String API_ORDER_REMIND_DELIVER = API_HOST + "/api/ylapp/order/remind";
    //支付
    public static final String API_ORDER_PAY = API_HOST + "/api/ylapp/order/pay";
    //订单支付查询
    public static final String API_ORDER_PAY_QUERY = API_HOST + "/api/ylapp/order/pay/query";

    //--------------------------优惠券
    //优惠券列表
    public static final String API_COUPON_LIST = API_HOST + "/api/ylapp/my/coupons";
    //优惠券兑换列表
    public static final String API_COUPON_EXCHANGE_LIST = API_HOST + "/api/ylapp/my/coupons/exchange/list";
    //兑换优惠券
    public static final String API_COUPON_EXCHANGE = API_HOST + "/api/ylapp/my/coupons/exchange";

    //--------------------------里程碑
    //里程碑数据
    public static final String API_MILEPOST_DATA = API_HOST + "/api/ylapp/my/milestone/statistics";
    //里程碑最近解锁列表
    public static final String API_MILEPOST_RECENT_UNLOCK_LIST = API_HOST + "/api/ylapp/my/milestone";
    //里程碑分享数据
    public static final String API_MILEPOST_SHARE_DATA = API_HOST + "/api/ylapp/my/milestone/share";
    //里程碑分类数据
    public static final String API_MILEPOST_CATEGORY_DATA = API_HOST + "/api/ylapp/my/milestone/category";
    //里程碑分类列表
    public static final String SPI_MILEPOST_CATEGORT_LIST = API_HOST + "/api/ylapp/my/milestone/category/detail";



    //--------------------------心愿单、酒单
    //心愿单、心愿单酒单、收藏的他人列表酒单
    public static final String API_WISH_LIST = API_HOST + "/api/ylapp/my/wish_bills";
    //加入酒单
    public static final String API_ADD_TO_WINE_LIST = API_HOST + "/api/ylapp/wine_bills/join";
    //创建酒单
    public static final String API_CREATE_WINE_LIST = API_HOST + "/api/ylapp/wine_bills/create";
    //酒单列表
    public static final String API_WINE_LIST = API_HOST + "/api/ylapp/wine_bills/list";
    //酒单详情
    public static final String API_WINE_LIST_DETAIL = API_HOST + "/api/ylapp/wine_bills/detail";
    //发布酒单评论
    public static final String API_PUBLISH_WINE_LIST_COMMENT = API_HOST + "/api/ylapp/wine_bills/comment";
    //酒单评论列表
    public static final String API_WINE_LIST_COMMENTS_LIST = API_HOST + "/api/ylapp/wine_bills/comment/list";
    //酒单点赞
    public static final String API_WINE_LIST_LIKE = API_HOST + "/api/ylapp/wine_bills/like";
    //酒单收藏
    public static final String API_WINE_LIST_COLLECT = API_HOST + "/api/ylapp/wine_bills/collect";
    //酒单详情里所有商品加入购物车
    public static final String API_ADD_WINE_LIST_GOODS_TO_SHOPPING_CART = API_HOST + "/api/ylapp/add/shopping_cart/bills";
    //酒单评论列表



    //--------------------------发票
    //发票须知
    public static final String API_INVOICE_NOTES = API_HOST + "/api/ylapp/invoice/notice";
    //发票相关的订单
    public static final String API_INVOICE_ORDER_LIST = API_HOST + "/api/ylapp/invoice/order";
    //提交发票申请
    public static final String API_INVOICE_SUBMIT = API_HOST + "/api/ylapp/invoice/apply";

    //--------------------------社区
    //我的社区动态
    public static final String API_MY_COMMUNITY_NEWS = API_HOST + "/api/ylapp/my/community";
    //我关注的社区动态
    public static final String API_MY_FOLLOW_COMMUNITY_NEWS = API_HOST + "/api/ylapp/community/focus/list";
    //热门动态
    public static final String API_HOT_COMMUNITY_NEWS = API_HOST + "/api/ylapp/community/hot/list";
    //活动动态
    public static final String API_COMMUNITY_ACTIVITY = API_HOST + "/api/ylapp/community/activities/list";
    //发布社区动态
    public static final String API_PUBLISH_COMMUNITY = API_HOST + "/api/ylapp/community/publish";
    //社区详情
    public static final String API_COMMUNITY_DETAILS = API_HOST + "/api/ylapp/community/detail";
    //点赞、取消点赞
    public static final String API_COMMUNITY_LIKE = API_HOST + "/api/ylapp/community/like";
    //收藏、取消收藏
    public static final String API_COMMUNITY_COLLECT = API_HOST + "/api/ylapp/community/collect";
    //社区里关注其他用户
    public static final String API_COMMUNITY_FOLLOW_OTHER = API_HOST + "/api/ylapp/community/focus";
    //社区收藏(点赞)、取消收藏(取消点赞)
    public static final String API_COMMUNITY_ACT_COLLECT_OR_LIKE = API_HOST + "/api/ylapp/community/activities/likeOrCollect";
    //社区里取消关注用户
    public static final String API_COMMUNITY_FOLLOW_CANCEL = API_HOST + "/api/ylapp/community/focus/cancel";
    //社区里拉黑、取消拉黑用户
    public static final String API_COMMUNITY_ADD_BLACKOR_CANCEL = API_HOST + "/api/ylapp/community/black";
    //我的点评
    public static final String API_MY_COMMUNITY_COMMENTS = API_HOST + "/api/ylapp/my/comments";
    //话题列表
    public static final String API_COMMUNITY_TOPIC_LIST = API_HOST + "/api/ylapp/community/topic/list";
    //厂商列表
    public static final String API_COMMUNITY_MFRS_LIST = API_HOST + "/api/ylapp/community/brand/list";
    //社区其他用户接口
    //访客首页
    public static final String API_COMMUNITY_OTHER_USER_NEWS = API_HOST + "/api/ylapp/community/fans/info";
    //访客页的分享的列表
    public static final String API_COMMUNITY_OTHER_SHARE_LIST = API_HOST + "/api/ylapp/community/fans/share/list";
    //访客页的点评列表
    public static final String API_COMMUNITY_OTHER_COMMENTS_LIST = API_HOST + "/api/ylapp/community/fans/comment/list";
    //访客页的心愿单列表
    public static final String API_COMMUNITY_OTHER_WISH_LIST = API_HOST + "/api/ylapp/community/fans/wine_bills/list";
    //社区评论列表
    public static final String API_COMMUNITY_COMMENTS_LIST = API_HOST + "/api/ylapp/community/comments";
    //发布社区评论
    public static final String API_PUBLISH_COMMUNITY_COMMENT = API_HOST + "/api/ylapp/community/publish/comment";
    //社区活动评论列表
    public static final String API_COMMUNITY_ACT_COMMENTS_LIST = API_HOST + "/api/ylapp/community/activities/comments";
    //发布社区活动评论
    public static final String API_PUBLISH_COMMUNITY_ACT_COMMENT = API_HOST + "/api/ylapp/community/activities/publish/comment";
    //社区举报类型
    public static final String API_COMMUNITY_REPORT_REASON_LIST = API_HOST + "/api/ylapp/community/inform/type";
    //社区举报
    public static final String API_COMMUNITY_REPOR_COMMUNITY = API_HOST + "/api/ylapp/community/inform";


    //--------------------------消息
    //消息列表
    public static final String API_MESSAGE_LIST = API_HOST + "/api/ylapp/message/list";
    //设置消息为已读
    public static final String API_MESSAGE_SET_READ = API_HOST + "/api/ylapp/message/read";
    //未读消息总数
    public static final String API_GET_TOTAL_UNREAD_MESSAGE = API_HOST + "/api/ylapp/message/unread/count";
    //消息私信列表
    public static final String API_MESSAGE_PRIVATE_LIST = API_HOST + "/api/ylapp/message/chat";
    //发送私信消息
    public static final String API_MESSAGE_SEND_TO_USER = API_HOST + "/api/ylapp/message/chat/send";
    //客服消息列表
    public static final String API_MESSAGE_CUSTOMER_SERVICE_LIST = API_HOST + "/api/ylapp/message/service/chart";
    //发送客服消息
    public static final String API_MESSAGE_SEND_TO_CUSTOMER_SERVICE = API_HOST + "/api/ylapp/message/service/chart/send";
}
